<?php 
//
//format can be: raw, json or xml
//

$client            = new SoapClient("http://lnq.me/api/api.wsdl");
$response          = json_decode($client->getShortUrl(LNQME_USER, LNQME_API_KEY, "URL_TO_SHORTEN", "FORMAT"));
$url               = $response->data;

?>